extends Node
var code="""
window.h5api.playAd(callback)
function callback(obj)
{
	 console.log('代码:' + obj.code + ',消息:' + obj.message)
	if(obj.code === 10000){
		console.log('开始播放')
	} else if(obj.code === 10001){
		console.log('播放结束')
		return true
	} else {
		console.log('广告异常')
	}
}
"""
